#ifndef CDeviceIO_h
#define CDeviceIO_h

#include "CWinKeyboard.h"
#include "CDeviceConsoleSystem.h"

BEGIN_BERS

class CDeviceIO:public CWinKeyboard, public CDeviceConsoleSystem
{
public:
    CDeviceIO(): CWinKeyboard(myInputEvents) {}
public:
    void GiveData(std::string& data) { /*mDevIn.Wait_InKeyString(data);*/ }
    void AcceptData(const std::string& data){ /*mDevOut.AcceptData(data);*/ }   
private:
    CWinInputEvents myInputEvents;
};

END_BERS





// #include "CDevOut.h"
// #include "TWinKeyborad.h"
// 
// class CDeviceIO
// {
// public:
//     CDeviceIO(): mDevIn(&mDevOut) {}
// public:
//     void GiveData(std::string& data) { mDevIn.Wait_InKeyString(data); }
//     void AcceptData(const std::string& data){ mDevOut.AcceptData(data); }   
// private:
//     CDevOut mDevOut;
//     TWinKeyborad<CDevOut> mDevIn;
// };




#endif